package vip.yeee.memo.demo.simpletool.my.temp;

import java.util.stream.Collectors;
import java.util.stream.Stream;

/**
 * description......
 *
 * @author https://www.yeee.vip
 * @since 2024/1/15 10:19
 */
public class StringDataConvert {

    public static void main(String[] args) {

        String aa = "4110602\n" +
                "4243102\n" +
                "4410548\n" +
                "5714594\n" +
                "6168763\n" +
                "6862583\n" +
                "6930835\n" +
                "7094690\n" +
                "7131987\n" +
                "7159680\n" +
                "7337389\n" +
                "7366999\n" +
                "7702891\n" +
                "7716269\n" +
                "8251695\n" +
                "8045723\n" +
                "8300961\n" +
                "8318858\n" +
                "8369524\n" +
                "8419989\n" +
                "8695405\n" +
                "8695408\n" +
                "8695414\n" +
                "8695419\n" +
                "8695440\n" +
                "8447459\n" +
                "8447460\n" +
                "8448476\n" +
                "8695444\n" +
                "8695454\n" +
                "8467028\n" +
                "8695457\n" +
                "8695460\n" +
                "8695472\n" +
                "8695479\n" +
                "8695485\n" +
                "8497095\n" +
                "8501464\n" +
                "8695492\n" +
                "8507940\n" +
                "8507958\n" +
                "8695499\n" +
                "8517874\n" +
                "8529272\n" +
                "8529698\n" +
                "8531733\n" +
                "8695505\n" +
                "8539878\n" +
                "8695511\n" +
                "8695516\n" +
                "8695522\n" +
                "8695525\n" +
                "8695528\n" +
                "8569959\n" +
                "8569968\n" +
                "8576141\n" +
                "8579106\n" +
                "8582168\n" +
                "8585286\n" +
                "8695534\n" +
                "8593537\n" +
                "8594309\n" +
                "8597022\n" +
                "8596322\n" +
                "8596326\n" +
                "8606209\n" +
                "8608448\n" +
                "8608498\n" +
                "8615336\n" +
                "8695539\n" +
                "8695541\n" +
                "8695547\n" +
                "8695545\n" +
                "8631192\n" +
                "8695550\n" +
                "8635601\n" +
                "8639167\n" +
                "8644920\n" +
                "8695555\n" +
                "8695560\n" +
                "8695564\n" +
                "8695570\n" +
                "8695574\n" +
                "8695576\n" +
                "8695579\n" +
                "8667863\n" +
                "8695580\n" +
                "8695582\n" +
                "8695586\n" +
                "8695589\n" +
                "8695594\n" +
                "8695600\n" +
                "8695607\n" +
                "8691171\n" +
                "8693014\n" +
                "8695430\n" +
                "8695603\n" +
                "8707590\n" +
                "8707598\n" +
                "8699490\n" +
                "8707601\n" +
                "8707604\n" +
                "8707619\n" +
                "8712009";



        System.out.println(Stream.of(aa.replaceAll("【", "").replaceAll("】", "").split("[\n,]"))
//                .map(s -> "'" + s + "'")
//                .map(s -> "'\"" + s + "\"'")
//                .map(s -> "DATA_CONVERTER:LAST:TRANSFER_CONTENT-RELATE:bfeb4822c0824bc9ac48a588dda9ee12:" + s)
                .distinct()
                .collect(Collectors.joining(",")));
//                .collect(Collectors.joining(" ")));

    }

}
